#!/usr/bin/env python3
# -*- encoding: utf-8 -*-
'''
@author: yuejl
@application:
@contact: lewyuejian@163.com
@file: exceptions.py
@time: 2021/10/17 0017 13:08
@desc:
'''
class SeleniumException(Exception): pass

class SeleniumTypeError(SeleniumException): pass

class SeleniumValueError(SeleniumException): pass

class SeleniumTimeoutError(SeleniumException): pass

class SeleniumNotFoundProperty(SeleniumException): pass

class SeleniumElementNotFound(SeleniumException): pass

class CMDRunError(Exception): pass

# 文件加载
class BaseError(Exception): pass

class FileFormatError(BaseError): pass

class NotFoundError(BaseError): pass

# 文件不存在
class FileNotFound(FileNotFoundError, NotFoundError): pass

# 不支持文件格式
class FileFormatNotSupported(FileNotFoundError, NotFoundError): pass

# 数据格式错误
class VariablesFormatError(NotFoundError): pass

class JsonDecodeError(NotFoundError): pass

# 解析字典错误
class ResolveDictError(NotFoundError):
    pass



